/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.a.service;

import java.util.List;

import com.thinkgem.jeesite.modules.gog.entity.TestGoods;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.a.entity.TestGoods2;
import com.thinkgem.jeesite.modules.a.dao.TestGoods2Dao;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 测试商品表Service
 * @author dby
 * @version 2020-09-07
 */
@Service
@Transactional(readOnly = true)
public class TestGoods2Service extends CrudService<TestGoods2Dao, TestGoods2> {


    public TestGoods2 get(String id){
        return super.get(id);
    }
    public List<TestGoods2> findList(TestGoods2 testGoods2){
        return super.findList(testGoods2);
    }
    public Page<TestGoods2> findPage(Page<TestGoods2> page,TestGoods2 testGoods2){
        return super.findPage(page,testGoods2);
    }
    @Transactional(readOnly=false)
    public void save(TestGoods2 testGoods2){
        super.save(testGoods2);
    }
    @Transactional(readOnly=false)
    public void delete(TestGoods2 testGoods2){
        super.delete(testGoods2);
    }

}